// 自动生成模板Staff
package test

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	
	
)

// staff表 结构体  Staff
type Staff struct {
      global.GVA_MODEL
      Accessstatus  *bool `json:"accessstatus" form:"accessstatus" gorm:"column:accessstatus;comment:门禁卡状态;"`  //门禁卡状态 
      Department  string `json:"department" form:"department" gorm:"column:department;comment:部门;size:255;"`  //部门 
      Examstatus  *bool `json:"examstatus" form:"examstatus" gorm:"column:examstatus;comment:考期状态;"`  //考期状态 
      Faceimg  string `json:"faceimg" form:"faceimg" gorm:"column:faceimg;comment:人脸图像;size:255;"`  //人脸图像 
      Idaddr  string `json:"idaddr" form:"idaddr" gorm:"column:idaddr;comment:身份证地址;size:255;"`  //身份证地址 
      Idcard  string `json:"idcard" form:"idcard" gorm:"column:idcard;comment:身份证号;size:191;"`  //身份证号 
      Idcardimg  string `json:"idcardimg" form:"idcardimg" gorm:"column:idcardimg;comment:身份证照片;size:300;"`  //身份证照片 
      Ishere  *bool `json:"ishere" form:"ishere" gorm:"column:ishere;comment:进出状态;"`  //进出状态 
      Job  string `json:"job" form:"job" gorm:"column:job;comment:职位;size:255;"`  //职位 
      Nation  string `json:"nation" form:"nation" gorm:"column:nation;comment:员工民族;size:255;"`  //员工民族 
      Native  string `json:"native" form:"native" gorm:"column:native;comment:员工籍贯;size:255;"`  //员工籍贯 
      Outinstatus  *bool `json:"outinstatus" form:"outinstatus" gorm:"column:outinstatus;comment:进出状态;"`  //进出状态 
      Sex  *bool `json:"sex" form:"sex" gorm:"column:sex;comment:员工性别;"`  //员工性别 
      Tel  string `json:"tel" form:"tel" gorm:"column:tel;comment:员工手机号;size:191;"`  //员工手机号 
      Username  string `json:"username" form:"username" gorm:"column:username;comment:员工姓名;size:255;"`  //员工姓名 
}


// TableName staff表 Staff自定义表名 staff
func (Staff) TableName() string {
  return "staff"
}

